home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: microsecond delay
- Date: 29 Mar 96 01:44:38 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.828063878@rscernix>
- References: <14546@828046609>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <14546@828046609> "dan j" <djacobso@cs.indiana.edu> writes:
-
- >Is there any way effect delays in miliseconds without resorting to
- >loops?
-
- On MSDOS (and other systems without preemptive multitasking) you can
- use clock() to get a better resolution than 1 sec (typically in the
- tens of milliseconds range).
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-